<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>编程语言学习</title>
</head>
<body>

    <h2>编程语言学习</h2>
    <div>
        <b>注意：这是一个学习的网站集合</b>
    </div>

    <table id="tab02">
        <tr id="tr01">
            <td>编程语言</td>
            <td>学习目标</td>
            <td>学习地址</td>
        </tr>

        {% for my_dict in info %}
        <tr>
            <!-- 模板过滤器使用 -->
            <td>{{my_dict.编程语言|replace('nan','')}}</td>
            <td>{{my_dict.学习描述|replace('nan','')}}</td>
            <td><a href="{{my_dict.学习地址}}">{{my_dict.学习地址}}</a></td>
        </tr>
        {% endfor %}

    </table>
    
</body>
</html>

<style>
    b{
        color: red;
        font-size: 14px;
    }
    #tab02,#tab02 tr td{
        border: 1px solid rgb(170, 163, 163);
    }

    #tab02{
        border-collapse: collapse;
    }

    #tr01{
        background-color: rgb(111, 122, 118);
        font-weight: bolder;
        color: rgb(217, 227, 235);
    }

    table{
        display: table;
        width: 100%;
        font-family: Arial, Helvetica, sans-serif;
    }

</style>